import Ax from './api';

export default {
  linkTypeAdd: (param = {}) => Ax.put(`/linkType/add`, param),
  linkTypeEdit: (param = {}) => Ax.put(`/linkType/edit`, param),
  linkTypeDelete: (query = {}) => Ax.delete(`/linkType/delete?_id=${query._id}`),
  linkTypeList: (param = {}) => Ax.post(`/linkType/list`, param),
  linkTypeAll: (query = {}) => Ax.get(`/linkType/all`),
  linkTypeDetail: (query = {}) => Ax.get(`/linkType/detail?_id=${query._id}`),
};
